package com.frog.common.util;

/**
 * 常量类
 */
public class ConstantUtil {

    public interface common {
        String ON = "on";
        String STATUS_0 = "0";//正常
        String STATUS_1 = "1";//
        String STATUS_2 = "2";
        String STATUS_3 = "3";
    }

    public interface type {
        String delete_0 = "0";
        String delete_00 = "00";

    }

    //注册渠道
    public interface RegisterMode {
        String mobile = "mobile";//手机号
        String email = "email";//邮箱
        String system = "system";//后台系统
        String match_friends = "match_friends";//用来匹配好友用户
    }

    //发送类型
    public interface sendSmsType {
        String mobile = "mobile";//注册
        String email = "email";//登录
    }

    //业务代码
    public interface sendSmsCode {
        String register = "register";//注册
        String login = "login";//登录
        String loginRegistered = "loginRegistered";//已注册登录
        String loginUnregistered = "loginUnregistered";//未注册登录
        String emailLogin = "emailLogin";//邮箱登录
        String phoneBind = "phoneBind";//绑定手机
        String resetPassWord = "resetPassWord";//重置密码
        String registerFreeAuth = "registerFreeAuth";//免认证注册
        String loginFreeAuth = "loginFreeAuth";//免认证登录
    }

    //用户资料状态
    public interface GradeType {
        int REGISTERED = 10;//注册未完善
        int PARTIALLY_PERFECT = 20;//部分完善
        int ALL_PERFECT = 30;//全部完善
    }

    public interface VideoCheckStatus {
        String NOT_UPLOAD = "5";//未上传视频
        String UNAUDITED = "10";//已上传，未审核
        String CHECK_PASS = "20";//审核通过
        String NOT_CHECK_PASS = "31";//审核未通过
        String VIRTUAL_FRIEND = "40";//虚拟好友视频
    }

    public interface VideoSendStatus {
        String PENDING = "pending";//待发送
        String SENT = "sent";//已发送
    }

    public interface videoReadStatus {
        String UNREAD = "UNREAD";//未读
        String READ = "READ";//已读
    }

    //视频保存类型
    public interface SendType {
        String SEND_TYPE_FRIEND = "friend";//好友视频
        String SEND_TYPE_PERSONAL = "self_intro";//自我介绍视频
        String SEND_VLOG = "self_vlog";//日常视频
        String SEND_VLOG_POND = "self_vlog_pond";//希望上池塘日常视频
        String SEND_TYPE_AUTO = "auto_friend";//自动发送好友
        String SEND_GROUP_VIDEO = "group_video";//分组
        String SEND_GROUP_POND = "group_video_pond";//分组
        String CORRELATION_SUPER = "correlation_super";//关联视频主视频
        String CORRELATION_SUB = "correlation_sub";//关联视频子视频

    }

    //关联视频标识，SUPER,SUB
    public interface CorrelationType {
        String SUPER = "SUPER";//主视频
        String SUB = "SUB";//子视频
    }

    //视频贴纸坐标类型
    public interface VideoCoordinateType {
        String coordinateQA = "coordinateQA";//QA
        String coordinateTag = "coordinateTag";//Tag
        String coordinateImpression = "coordinateImpression";//匿名印象
        String coordinateUserMention = "coordinateUserMention";//Mention
        String coordinateMessage = "coordinateMessage";//聊天
        String coordinateLocation = "coordinateLocation";//Location
    }

    public interface FriendType {
        String FRIEND_VIRTUAL = "virtual";//虚拟好友
        String FRIEND_DEFAULT = "default";//默认
        String FRIEND_STRANGER = "stranger";//陌生人
        String FRIEND_FOLLOW = "followFriend";//关注好友关系
        String CONTACTS = "CONTACTS";//通讯录好友
        String APP = "APP";//app应用内好友
    }

    public interface BindingStatus {
        String BINDING_APP = "10";//绑定申请
        String BINDING_PASS = "20";//绑定通过
        String BINDING_NO = "30";//绑定未通过
        String BINDING_DEL = "00";//删除
    }

    public interface BindingGroup {
        String GROUP_DEFAULT = "default";//默认
        String GROUP_PARENTS = "parents";
        String GROUP_TEACHER = "teacher";
    }

    public interface Direction {
        String USER = "user_admin";
        String ADMIN = "admin_user";
    }

    public interface TranslateType {
        String AUTO = "auto";//自动
        String ZH = "zh";//中文
        String EN = "en";//英文
    }

    public interface CountryType {
        String foreign = "2";//国外
        String china = "1";//中国
    }

    public interface ClientType {
        String foreign = "foreign";//国外
        String china = "china";//中国
    }

    public interface PlatformType {
        String iOS = "IOS";
        String Android = "ANDROID";
    }

    //static,dynamic
    public interface DynaFlagType {
        String STATIC = "static";
        String DYNAMIC = "dynamic";
    }

    //推送渠道类型
    public interface PushType {
        String huawei = "huawei";
        String oppo = "oppo";
        String umeng = "umeng";
        String xiaomi = "xiaomi";
        String google = "google";
        String xinge = "xinge";
    }

    //数据范围类型
    public interface Rangetype {
        String single = "single";//单一
        String all = "all";//全部的
    }

    public interface ReportBlacklistType {
        String report = "report";//举报
        String blacklist = "blacklist";//拉黑
        String feedback = "feedback";//反馈
    }

    public interface FriendDayRecType {
        String shareVideo = "share_video";//分享视频
        String shareImg = "share_img";//分享图片
        String sendVideo = "send_video";//发送视频
    }

    public interface ShareType {
        String imgShare = "imgShare";//图片分享
        String videoShare = "videoShare";//视频分享
    }

    public interface ShareStatus {
        String SUCCESS = "SUCCESS";//分享成功
        String WAIT_SHARE = "WAIT_SHARE";//等待分享
    }


    public interface LockingStatus {
        String lock = "lock";//锁定
        String unlocked = "unlocked";//未锁定
    }

    public interface EasemobServiceFromName {
        String kefuchannelimid_hide = "kefuchannelimid_hide";//隐藏消息发送者用户名
    }

    /**
     * 支付类型
     */
    public interface PayType {
        String aliPay = "aliPay";//支付宝
        String wxPay = "wxPay";//微信
        String couponPay = "couponPay";//优惠券
        String iAP_Pay = "iAP_Pay";//苹果应用内支付
        String googlePay = "googlePay";//google支付
    }

    /**
     * doc类型
     */
    public interface DocType {
        String courseList = "courseList";//课程列表
        String userCourse = "userCourse";//用户课程
        String videoChallengeWord = "videoChallengeWord";//视频挑战文字
    }

    /**
     * 优惠券使用状态
     */
    public interface AvailableStatus {
        String WAIT_USE = "wait_use";//等待使用
        String USED = "used";//已经使用
        String EXPIRE = "expire";//已过期失效
    }

    /**
     * 礼物记录类型
     */
    public interface UserGiftRecType {
        String SHOP = "SHOP";//购得
        String RCVD = "RCVD";//收到
    }


    /**
     * 卡券类型
     */
    public interface CouponType {
        String counseling = "counseling";//辅导券
        String commentary = "commentary";//解说券
        String coupon = "coupon";//优惠
    }

    /**
     * 卡券类型
     */
    public interface GoodsType {
        String course = "course";//课程

    }

    /**
     * 产品类型
     */
    public interface ProductType {
        String COUPON = "coupon";//优惠券或次卡
        String GOODS = "goods";//商品
        String GOLD = "gold";//金币充值
        String ALL = "all";//所有混合
    }

    /**
     * 产品类型
     */
    public interface PackageType {
        String package_new_reg = "package_new_reg";//新用户套餐
        String package_A = "package_A";//A套餐
        String package_B = "package_B";//B套餐
        String package_C = "package_C";//C套餐
        String cybermoney_all = "cybermoney_all";//电子货币充值全部
        String cybermoney_part = "cybermoney_part";//电子货币充值部分

    }

    /**
     * 货币类型
     */
    public interface CurrencyType {
        String USD = "USD";//美元
        String CNY = "CNY";//人民币
    }


    /**
     * 商品状态
     */
    public interface GoodsStatus {
        String NORMAL = "normal";//正常可下单
        String MERCHANDISE = "merchandise";//商品下架
        String NOT_STOCK = "not_stock";//商品缺货
    }

    /**
     * 礼物类型
     */
    public interface GiftType {
        String common_gift = "common_gift";//通用
        String v1_gift = "v1_gift";//新版礼物
    }


    /**
     * 订单状态
     */
    public interface OrderStatus {
        String PRE_ORDER = "PRE_ORDER";//预下单，不会在我的订单内返回
        String WAIT_BUYER_PAY = "WAIT_BUYER_PAY";//交易创建，等待买家付款
        String ORDER_FINISH = "ORDER_FINISH";//订单完成
        String ORDER_CLOSED = "ORDER_CLOSED";//订单关闭
        String ORDER_REVOKED = "ORDER_REVOKED";//订单取消
    }

    public interface ResultStatus {
        String ALI_SUCCESS = "9000";//支付宝成功
        String ALI_PROCESSING = "8000";//正在处理中，支付结果未知（有可能已经支付成功），请查询商户订单列表中订单的支付状态
        String ALI_EVOKED = "6001";//用户中途取消
        String ALI_FAIL = "4000";//订单支付失败
        String ALI_6002 = "8000";//正在处理中，支付结果未知（有可能已经支付成功），请查询商户订单列表中订单的支付状态
        String ALI_6004 = "8000";//支付结果未知（有可能已经支付成功），请查询商户订单列表中订单的支付状态
    }

    /**
     * 支付状态
     */
    public interface PayStatus {
        String aliPay_WAIT_BUYER_PAY = "WAIT_BUYER_PAY";//交易创建，等待买家付款
        String aliPay_TRADE_CLOSED = "TRADE_CLOSED";//未付款交易超时关闭，或支付完成后全额退款
        String aliPay_TRADE_SUCCESS = "TRADE_SUCCESS";//交易支付成功
        String aliPay_TRADE_FINISHED = "TRADE_FINISHED";//交易结束，不可退款
        String wxPay_SUCCESS = "SUCCESS";//微信支付成功
        String wxPay_REFUND = "REFUND";//微信转入退款
        String wxPay_NOTPAY = "NOTPAY";//微信未支付
        String wxPay_CLOSED = "CLOSED";//微信已关闭
        String wxPay_REVOKED = "REVOKED";//微信已撤销（刷卡支付）
        String wxPay_USERPAYING = "USERPAYING";//微信用户支付中
        String wxPay_PAYERROR = "PAYERROR";//微信支付失败(其他原因，如银行返回失败)

        String couponPay = "couponPay";//优惠券支付状态

        String iAP_NOT_PAY = "iAP_NOT_PAY";//ios应用内支付，未支付
        String iAP_CLOSED = "iAP_CLOSED";//ios应用内支付，关闭
        String iAP_SUCCESS = "iAP_SUCCESS";//ios应用内支付，支付成功

        String GOOGLE_NOT_PAY = "GOOGLE_NOT_PAY";//google应用内支付，未支付
        String GOOGLE_CLOSED = "GOOGLE_CLOSED";//google应用内支付，关闭
        String GOOGLE_SUCCESS = "GOOGLE_SUCCESS";//google应用内支付，支付成功
    }

    public interface VoteStatus {
        String valid = "valid";//有效
        String invalid = "invalid";//失效
    }

    /**
     * 视频审核查询类型
     */
    public interface VideoReviewQueryType {
        String pendingCheck = "pendingCheck";//待检出
        String pendingReview = "pendingReview";//待复审
        String audited = "audited";//审核完成
    }

    /**
     * 视频审核查询类型
     */
    public interface VideoCheckoutStatus {
        String checkout = "checkout";//已检出
        String notCheckout = "notCheckout";//未检出
    }

    /**
     * 视频初审状态
     */
    public interface VideoInitialReviewStatus {
        String waitingPreliminaryReview = "waitingPreliminaryReview";//待初审
        String preliminaryReviewPass = "preliminaryReviewPass";//初审通过
        String preliminaryReviewFail = "preliminaryReviewFail";//初审未通过,违规
        String preliminaryReview = "preliminaryReview";//初审疑似
    }

    /**
     * 视频复审状态
     */
    public interface VideoReviewStatus {
        String waitingReview = "waitingReview";//待复审
        String reviewPass = "reviewPass";//复审通过
        String reviewFail = "reviewFail";//复审未通过
    }

    /**
     * 视频审核查询条件
     */
    public interface VideoSendType {
        String commonVideo = "commonVideo";//通用
        String friendVideo = "friendVideo";//好友
        String oneVideo = "oneVideo";//第一个视频
        String oneFriendVideo = "oneFriendVideo";//第一个好友视频
        String groupVideo = "groupVideo";//分组视频
        String oneGroupVideo = "oneGroupVideo";//分组视频
    }

    /**
     * 视频f发布状态
     */
    public interface VideoPostStatus {
        String PendingRelease = "PendingRelease";//待发布
        String published = "published";//已发布
        String unpublish = "unpublish";//取消发布
    }

    /**
     * 好友关注状态
     */
    public interface FriendBothStatus {
        String notConcerned = "0";//未关注，取消关注
        String unilateralAttention = "1";//单方关注，对方已关注我，我未关注对方
        String mutualConcern = "2";//双方关注
        String sendConcerned = "3";//已发邀请，我对对方已发邀请，对方未关注我
        String bestFriend = "4";//亲密好友
    }

    /**
     * 聊天开关,0关闭，1打开
     */
    public interface FriendChatStatus {
        String decline = "decline";//关闭 拒绝
        String allow = "allow";//打开 允许
        String notSet = "notSet";//未设置
    }

    /**
     * 查询类型
     */
    public interface SelectType {
        String general = "general";//通用
        String register = "register";//注册
        String beforeRegister = "beforeRegister";//注册之前获取固定视频
    }

    /**
     * 页面展示数据类型
     */
    public interface IndexDataType {

        String gift = "gift";//礼物
        String return_gift = "return_gift";//回赠礼物，
        String user_thank = "user_thank";//感谢
        String video = "video";//视频
        String top_video = "top_video";//置顶视频
        String vote_video = "vote_video";//点赞视频
        String self_vlog = "self_vlog";//日常视频
        String friend = "friend";//私信视频
        String user_gift = "user_gift";//用户直接发礼物
        String apply_add_friend = "apply_add_friend";//申请添加好友
        String add_friend = "add_friend";//接受好友添加
        String share_video = "share_video";//分享视频
        String user_friend = "user_friend";//已发送
        String user_look = "user_look";//发表情
        String videoCheck = "videoCheck";//视频审核
        String videoRelease = "videoRelease";//视频发布到我的世界
        String sysMsg = "sysMsg";//系统消息
        String video_cheer = "video_cheer";//彩虹屁
        String start_chat = "start_chat";//开始聊天
        String readTxtTip = "readTxtTip";//聊天已读提示
        String whatsUp = "user_whats_up";//whats_up

    }


    /**
     * 对方未接受聊天时消息类型
     */
    public interface RequestMsgType {
        String gift = "gift";//礼物
        String video = "video";//视频
        String txt = "txt";//视频
        String emoji = "emoji";//表情
        String txtTip = "txtTip";//提示消息
    }

    /**
     * 消息读取状态
     */
    public interface MsgReadStatus {
        //1为已读，0为未读
        String UNREAD = "0";//未读
        String READ = "1";//已读
    }

    /**
     * 页面展示礼物类型
     */
    public interface GiftChangeState {
        String apply = "apply";//申请
        String change = "change";//已兑换
        String cancel = "cancel";//撤销
    }

    /**
     * 排行榜类型
     */
    public interface LeaderboardType {
        String totalBoard = "totalBoard";//总榜
        String giftBoard = "giftBoard";//收礼物榜
        String postBoard = "postBoard";//发视频榜
        String likeBoard = "likeBoard";//被点赞榜
    }

    /**
     * redis存储通用类型
     */
    public interface RedisKeyCommonType {
        String addFriendStatus = "addFriendStatus";//好友关系
        String topVideo = "topVideo";//置顶视频
        String msgUnreadSize = "msgUnreadSize";//未读消息个数
        String platform = "platform";//客户端类型
        String userInfo = "userInfo";//用户信息
        String sessionUser = "sessionUser";//登录用户信息
        String randomDay = "randomDay";//随机天数
        String giftTotalSize = "giftTotalSize";//礼物总数
        String indexMsgUnreadSize = "indexMsgUnreadSize";//首页消息未读个数
        String videoVoteLogInfo = "videoVoteLogInfo";//视频点赞信息
        String friendNewFlag = "friendNewFlag";//添加好友后第一次查询


        String vote_video = "vote_video";//点赞未读个数
        String apply_add_friend = "apply_add_friend";//被申请好友未读个数
        String gift = "gift";//收到礼物消息未读个数
        String video_cheer = "video_cheer";//彩虹屁接收未读个数
        String video_self_vlog = "video_self_vlog";//日常未读个数
        String request_msg = "request_msg";//request消息未读个数


    }

    public interface FeatureDisplayChannel {
        String tag = "tag";//标签页面
        String video = "video";//标签页面
        String all = "all";//标签页面
    }

    public interface TagSubRankingType {
        String tagFire = "tagFire";//tagFire
        String tagLike = "tagLike";//tagLike
        String tagDate = "tagDate";//tagDate
    }

    //视频排序，类型
    public interface PondVideoScoreType {
        String tagVideo = "tagVideo";//标签视频
        String likeVideo = "likeVideo";//点赞视频
        String clickVideo = "clickVideo";//点击视频
        String timeVideo = "timeVideo";//时间
        String sequenceVideo = "sequenceVideo";//自定义视频排序
        String sequenceRandom = "sequenceRandom";//随机数
    }

    //视频排序，类型
    public interface videoAgeGroupType {
        String lessTwelve = "lessTwelve";//<12
        String twelveToFourteen = "twelveToFourteen";//[12-14]
        String fourteenToSixteen = "fourteenToSixteen";//[14-16]
        String sixteenToEighteen = "sixteenToEighteen";//[16-18]
        String eighteenToTwentyOne = "eighteenToTwentyOne";//[18-21]
        String moreToTwentyOne = "moreToTwentyOne";//>21
        String moreFourteen = "moreFourteen";//>16
    }


    //开关
    public interface CommonSwitchType {
        String ON = "ON";//开
        String OFF = "OFF";//关
    }

    //认证状态
    public interface AuthenticationStatus {
        String NotCertified = "NotCertified";//未认证
        String certified = "certified";//已认证
        String revoke = "revoke";//取消认证
    }

    //aws video addRecType  aws_add_media_rec
    public interface MediaRecUpdateType {
        String ConvertIngest = "ConvertIngest";//转码开始
        String ConvertComplete = "ConvertComplete";//转码完成
        String VideoAuditStart = "VideoAuditStart";//视频审核开始
        String VideoAuditEnd = "VideoAuditEnd";//视频审核结束
        String ImgAuditEnd = "ImgAuditEnd";//图片审核结束
        String PersonStart = "PersonStart";//分析开始
        String PersonEnd = "PersonEnd";//分析结束

    }

    //aws media addRecType  aws_add_media_rec  视频或者图片
    public interface MediaType {
        String img = "img";//图片
        String video = "video";//视频

    }

    /**
     * 合拍视频完成状态
     */
    public interface VideoMultipleStatus {
        String initiate = "initiate";//拍摄开始，发起中
        String videoComplete = "videoComplete";//视频拍摄完成
        String published = "published";//发布完成

    }


    public interface QuestionStatus {
        String initiate = "initiate";//发起提问
        String complete = "complete";//回答完成
    }

    public interface QAChannel {
        String snapchat = "QAChannel_Snapchat";//snapchat平台
        String frog = "QAChannel_Frog";//app
    }

    public interface FriendNewMsgType {
        String IM = "IM";//yunxin聊天消息
        String SHAKE = "SHAKE";//摇手消息
    }


    /**
     * 更新视频相关操作类型
     */
    public interface VideoUpdateProcessingType {
        String USER_LOGIN = "USER_LOGIN";//用户登录
        String ADD_VIDEO = "ADD_VIDEO";//新增视频
        String ADD_POND_VIDEO = "ADD_POND_VIDEO";//新增池塘视频
        String DEL_POND_VIDEO = "DEL_POND_VIDEO";//删除池塘视频
        String DEL_VIDEO = "DEL_VIDEO";//删除视频
        String DEL_USER = "DEL_USER";//删除用户
        String UPDATE_VIDEO_INFO = "UPDATE_VIDEO_INFO";//更新视频相关信息
        String UPDATE_TAG_INFO = "UPDATE_TAG_INFO";//更新视频标签相关信息
        String UPDATE_FRIEND_VIDEO_VLOG = "UPDATE_FRIEND_VIDEO_VLOG";//更新最新好友动态
    }

    /**
     * 文本审核渠道
     */
    public interface ReviewTextEventId {
        String RegisterName = "RegN";//RegisterName
        String ProfileName = "ProN";//ProfileName
        String ProfileCity = "ProC";//ProfileCity
        String AnonymousQA = "QA";//AnonymousQA
        String AboutMe = "Impression";//AboutMe
        String RequestMessage = "Req";//RequestMessage
        String IM = "Mess";//IM
    }

    /**
     * 文本人工审核状态
     */
    public interface ReviewUserStatus {
        String PASSED = "PASSED";//PASS
        String UNTREATED = "UNTREATED";//未审核处理
        String CORRECTED = "CORRECTED";//修正过
    }

    /**
     * 视频封面处理类型
     */
    public interface VideoCoverType {

        String VIDEO_COVER = "VIDEO_COVER";//视频生成封面，单独视频，压缩处理
        String QA_COVER = "QA_COVER";//生成QA封面，合成封面，并压缩处理
        String GROUP_COVER = "GROUP_COVER";//合拍视频封面，合成封面，并压缩处理
        String GROUP_ONE_COVER = "GROUP_ONE_COVER";//合拍视频单封面，不需要压缩处理
        String WEBP_COVER = "WEBP_COVER";//WEBP_COVER，单独进行压缩处理
    }

    /**
     * Google推送主题值
     */
    public interface ANDSysPushTop {

        String AND_SYS_ALL_PUSH_PROD = "AND_SYS_ALL_PUSH";//正式推送主题
        String AND_SYS_ALL_PUSH_TEST = "AND_SYS_ALL_PUSH_TEST";//测试推送主题
        String AND_SYS_ALL_PUSH_BETA = "AND_SYS_ALL_PUSH_BETA";//测试推送主题
    }

    /**
     * nominated消息类型
     */
    public interface NOMINATEDType {

        String initiate = "initiate";//initiate
        String QA = "QA";//QA
        String videoGroup = "videoGroup";//videoGroup
        String Mention = "Mention";//@Mention
        String CorrelationSubVideo = "CorrelationSubVideo";//CorrelationSubVideo
    }

    /**
     * 发送消息类型分数
     */
    public interface LeaderboardScoreType {
        int sendVideo = 2;//视频消息
        int sendTxt = 2;//文本消息
        int sendWyd = 5;//WYD消息
        int sendSysMsg = 1;//系统消息，发送好友请求、同意好友请求、发送礼物、查看历史、点击感谢、点赞、同意聊天、送礼
    }

    /**
     * 发送消息类型分数
     */
    public interface UserDelStatus {
        String PENDING = "PENDING";//已提交注销，待处理
        String UNDELETE = "UNDELETE";//取消注销，
        String LOGIN_UNDELETE = "LOGIN_UNDELETE";//已登录，取消注销
        String DELETED = "DELETED";//已注销
    }
}
